package com.zgw.his.emr.widget;

import java.util.HashMap;
import java.util.Map;

import com.zgw.his.emr.model.PageRecord;

public abstract class MedicalWidget {
	protected String code;
	protected Map<String, String> keycode = new HashMap<String, String>();

	public abstract void setActivate(boolean activate);

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCode(String key) {
		return keycode.get(key);
	}

	public void setCode(String key, String code) {
		keycode.put(key, code);
	}
}
